﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Security;
using PBDesk.Business.AutoEnums;

namespace PBDesk.Business.UserManager
{
    public class LeisureUser : MembershipUser
    {
        #region Auto Implemented Properties
        
        public string DisplayName { get; set; }       
        public string ProfilePicUrl { get; set; }

        public LeisureUserAddress Address { get; set; }
        public LeisureUserAuthInfo AuthInfo { get; set; }
        public LeisureUserAdditionalInfo AdditionalInfo { get; set; }

        #endregion

        public LeisureUser()
            : base()
        {
        }

        //public LeisureUser(string providerName, string userName, string email,)
        //    : base()
        //{
            
        //}
        //public LeisureUser() : base(providername,
        //                              string providerName,
    //string name,
    //Object providerUserKey,
    //string email,
    //string passwordQuestion,
    //string comment,
    //bool isApproved,
    //bool isLockedOut,
    //DateTime creationDate,
    //DateTime lastLoginDate,
    //DateTime lastActivityDate,
    //DateTime lastPasswordChangedDate,
    //DateTime lastLockoutDate


    }

    
    public class LeisureUserAdditionalInfo
    {
        public string Gender { get; set; }
        public string DateOfBirth { get; set; }
        public string ProfileUrl { get; set; }
        public string JoinDate { get; set; }
    }

    public class LeisureUserAddress
    {
        public string Address1 { get; set; }
        public string Address2 { get; set; }
        public string City { get; set; }
        public string State { get; set; }
        public string Country { get; set; }
        public string Contact1 { get; set; }
        public string Contact2 { get; set; }
    }

    public class LeisureUserAuthInfo
    {
        public AuthenticationServiceProvider AuthServiceProviderId { get; set; }
        public string AuthServiceProviderUId { get; set; }
        public LoginProvider LoginProviderId { get; set; }
        public string LoginProviderUId { get; set; }
    }
}
